import os,glob
def listfile(path):
    # list_file=[]
    list_file=list(os.walk(path))
    return list_file
    
s=listfile('./')
print(type(s))
print(s)